🌍 Parallelism & Context Switching β€” Interactive OS Map

Clickable components + animated context-switch simulator + multi-core visualization + page table layer

System Map (click a component) CPU β€’ Kernel β€’ Scheduler β€’ PCB Table β€’ RAM β€’ Storage

RAM (Main Memory) User Space: code, heap, stack Kernel Space: PCBs, scheduler, page tables PCB Table (Kernel Memory) PCB_A: state, saved PC, regs… PCB_B: state, saved PC, regs… PCB_C: state, saved PC, regs… Storage (SSD/HDD) Executables + files live here before running CPU (Core) Registers incl. PC (Program Counter) Executes instructions (one PC per core) OS Kernel Interrupt handler β€’ memory manager β€’ loader Scheduler context switch: save/restore load program manage PCBs Tip: click boxes to show details β†’
CPU
Kernel
Scheduler
PCB Table
RAM
Storage
Process State Visualization
Mode:
READY Queue
RUNNING (on CPU)
WAITING (I/O blocked)
⚑ Simulate OS Events (jump to specific steps)
Click to trigger interrupts and system calls β†’ watch the system respond
Physical Memory Frames (RAM)
Each box = one frame. Colors show which process owns the frame.

Inspector (what this part DOES) Click a component

Component
β€”
Lives in
β€”
Job
β€”
Click CPU / Kernel / Scheduler / PCB Table / RAM / Storage
This panel is your "OS checker" view.
Context Switch Simulator
Step through what changes: state, PC, PCB.

Step 0 β€” Ready

Press Next to simulate a context switch.

Lecture Puzzle Board (you update this each lecture) Saved in your browser (localStorage)

Add one "puzzle piece" after each lecture (2–4 lines). Example: "Semaphore", "Deadlock", "Paging", "System calls".
0 notes

πŸ“ Knowledge Check Quiz Test your understanding of parallelism & context switching